#include<bits/stdc++.h>

using namespace std;
typedef long long ll;

int main() {
    cout << INT_MAX << endl;
    cout << (1LL << 31) - 1 << endl;

    ll a[21];
    a[1] = 1;//1!=1
    for (int i = 2; i <= 20; i++) {
        a[i] = a[i - 1] * i;
    }
    ll sum = 0;
    for (int i = 1; i <= 20; i++) {
        sum += a[i];
    }
    cout << sum;
    return 0;
}

